<%-- 
    Document   : iklan_new_form
    Created on : Jul 5, 2013, 11:37:56 AM
    Author     : fikri
--%>

<%@ include file="/WEB-INF/jsp/include/page_header.jspf" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/markitup/skins/simple/style.css">
	<!--  markItUp! toolbar skin -->
	<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/markitup/sets/default/style.css">
	
	
	<!-- markItUp! -->
	<script type="text/javascript" src="${pageContext.request.contextPath}/markitup/jquery.markitup.js"></script>
	<!-- markItUp! toolbar settings -->
	<script type="text/javascript" src="${pageContext.request.contextPath}/markitup/sets/default/set.js"></script>
        <title>Tambah Pengguna</title>
        <script type="text/javascript">
            $(function() {	
                $('#markItUp').markItUp(mySettings);
            });

        </script>
         <style>
            .grp {
                width:100%;
            }
            #markItUp {
                width:60%;
                height:300px;
            }
            
            #save {
                float: right;
                margin-right: 50px;
            }
        </style>
    </head>
    <body>        
        <s:messages/>
        <s:errors/> 
        <s:useActionBean beanclass="th.stripes.util.ListUtil" id="listUtil" />
        <s:form beanclass="th.stripes.action.AdminAction" class="niceform">
            <div id="content">
                <div id="logo">
                    <span>
                        <img src="${pageContext.request.contextPath}/images/img/ribbon.png"/>               
                    </span>
                </div>
                <h3>
                    Tambah Pengiklanan
                </h3>                              
<!--                <p>
                    <s:hidden name="iklan.idIklan"/>
                    <label><font color="red">*</font>Keterangan :</label><br/>
                    <s:textarea id="markItUp"  name="iklan.keterangan"/>
                </p>
                <p>
                    <label><font color="red">*</font>Aktif :</label>
                    <s:select name="iklan.aktif">
                        <s:option value="Y">YA</s:option>
                        <s:option value="T">TIDAK</s:option>
                    </s:select>
                </p>
                
                <p>
                    <label>&nbsp;</label>
                    <s:submit name="tambahIklan" value="Simpan" class="button green"/>                    
                </p>-->
                
                <div>
                        <div class="grp">
                            <div> <label><font color="red">*</font>Keterangan :</label></div>
                             <s:hidden name="iklan.idIklan"/>
                            <div><s:textarea id="markItUp"  name="iklan.keterangan"/></div>
                        </div>
                
                        <div class="grp">
                            <div><label><font color="red">*</font>Aktif :</label></div>
                            <div>
                                <s:select name="iklan.aktif">
                                    <s:option value="Y">YA</s:option>
                                    <s:option value="T">TIDAK</s:option>
                                </s:select>
                            </div>
                            <div id="save"> <s:submit name="tambahIklan" value="Simpan" class="button green"/> </div> 
                        </div >
               </div>     
        </div>
    </s:form>
</body>
</html>